﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.redshift
{
	// Token: 0x02000119 RID: 281
	public class TRedshiftRollback : TCustomSqlStatement
	{
		// Token: 0x0600091C RID: 2332 RVA: 0x00302F85 File Offset: 0x00301185
		public TRedshiftRollback(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstredshiftRollback;
		}

		// Token: 0x0600091D RID: 2333 RVA: 0x00302F99 File Offset: 0x00301199
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x0600091E RID: 2334 RVA: 0x00302FAE File Offset: 0x003011AE
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0600091F RID: 2335 RVA: 0x00302FBE File Offset: 0x003011BE
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
